package org.infosys.basic.constant;
/**
* @Description: 常量类
* @Author: hank
* @Version: 1.0
* @Date:  2022/7/6 15:21
*/
public class BaseConstants {

    // 短信平台的常量类
    public class SmsConstant {
        public static final String SMS_UID = "Director";

        public static final String SMS_KEY = "DAA06DF495EE0C1A35C66692532F0780";
    }


    // 注册相关的常量类
    public class VerifyCodeConstant {

        // 注册时的手机验证码常量
        public static final String BUSINESS_REGISTER_KEY = "register:";

        // 登录时的手机验证码常量
        public static final String BUSINESS_LOGIN_KEY = "login:";

        // 用于拼接手机号的业务键，账号绑定时使用
        public static final String BUSINESS_BINDER_KEY = "binder:";

    }

    public class WechatConstant {

        // 微信开放平台appid的值
        public static final String APPID = "wxd853562a0548a7d0";

        // 微信开放平台的SECRET的值
        public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";

        // 获取access_token的URL地址
        public static final String TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
        public static final String WXUSER_URL = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";
    }
}
